package com.hmys.api.service.impl;

import com.hmys.api.mapper.WebExchangeRateMapper;
import com.hmys.api.model.WebExchangeRate;
import com.hmys.api.service.WebExchangeRateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by chen365 on 2018/03/14.
 */
@Service
public class WebExchangeRateServiceImpl implements WebExchangeRateService {
    @Autowired
    private WebExchangeRateMapper webExchangeRateMapper;

    @Override
    public List<WebExchangeRate> selectWebExchangeRate() {
        return webExchangeRateMapper.selectExchangeRate();
    }

    @Override
    public List<WebExchangeRate> selectExchangeRateByBean(WebExchangeRate record) {
        return webExchangeRateMapper.selectExchangeRateByBean(record);
    }
}
